#ifndef HISTORYWIDGET_H
#define HISTORYWIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
class QTableWidget;
QT_END_NAMESPACE

class HistoryWidget : public QWidget {
    Q_OBJECT
public:
    explicit HistoryWidget(QWidget *parent = nullptr);
    void refresh();
    
signals:
    void rollbackRequested(const QString &versionId);
    
private:
    QTableWidget *m_table;
};

#endif // HISTORYWIDGET_H